package com.github.icloudpay.pay.core.biz;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.github.icloudpay.pay.core.entity.PayChannel;
import com.github.icloudpay.pay.core.mapper.PayChannelMapper;
import com.github.wxiaoqi.security.common.biz.BaseBiz;

import lombok.extern.slf4j.Slf4j;

@Slf4j
@Service
public class PayChannelBiz extends BaseBiz<PayChannelMapper, PayChannel> {

	@Autowired
	private PayChannelMapper mapper;
	
	/**
	 * 支付通道
	 * @param map
	 * @return
	 */
	public List<PayChannel> queryPayChannel(Map<String, Object> map) {
		log.info("查询支付通道，请求参数.{}"+map);
		return mapper.queryPayChannel(map);
	}
}
